<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>IDestroy | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_resource_idestroy_.html">&quot;laya/resource/IDestroy&quot;</a>
				</li>
				<li>
					<a href="interfaces._laya_resource_idestroy_.idestroy.html">IDestroy</a>
				</li>
			</ul>
			<h1>Interface IDestroy</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>IDestroy</code> 是对象销毁的接口。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">IDestroy</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel">
				<h3>Implemented by</h3>
				<ul class="tsd-hierarchy">
					<li><a href="../classes/_laya_d3_animation_animationclip_.animationclip.html" class="tsd-signature-type">AnimationClip</a></li>
					<li><a href="../classes/_laya_ani_animationplayer_.animationplayer.html" class="tsd-signature-type">AnimationPlayer</a></li>
					<li><a href="../classes/_laya_ani_animationtemplet_.animationtemplet.html" class="tsd-signature-type">AnimationTemplet</a></li>
					<li><a href="../classes/_laya_d3_component_animator_.animator.html" class="tsd-signature-type">Animator</a></li>
					<li><a href="../classes/_laya_d3_core_avatar_.avatar.html" class="tsd-signature-type">Avatar</a></li>
					<li><a href="../classes/_laya_webgl_shader_baseshader_.baseshader.html" class="tsd-signature-type">BaseShader</a></li>
					<li><a href="../classes/_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a></li>
					<li><a href="../classes/_laya_d3_core_material_blinnphongmaterial_.blinnphongmaterial.html" class="tsd-signature-type">BlinnPhongMaterial</a></li>
					<li><a href="../classes/_laya_physics_boxcollider_.boxcollider.html" class="tsd-signature-type">BoxCollider</a></li>
					<li><a href="../classes/_laya_d3_physicscannon_cannonphysicscollider_.cannonphysicscollider.html" class="tsd-signature-type">CannonPhysicsCollider</a></li>
					<li><a href="../classes/_laya_d3_physicscannon_cannonphysicscomponent_.cannonphysicscomponent.html" class="tsd-signature-type">CannonPhysicsComponent</a></li>
					<li><a href="../classes/_laya_d3_physicscannon_cannonphysicstriggercomponent_.cannonphysicstriggercomponent.html" class="tsd-signature-type">CannonPhysicsTriggerComponent</a></li>
					<li><a href="../classes/_laya_d3_physicscannon_cannonrigidbody3d_.cannonrigidbody3d.html" class="tsd-signature-type">CannonRigidbody3D</a></li>
					<li><a href="../classes/_laya_physics_chaincollider_.chaincollider.html" class="tsd-signature-type">ChainCollider</a></li>
					<li><a href="../classes/_laya_d3_physics_charactercontroller_.charactercontroller.html" class="tsd-signature-type">CharacterController</a></li>
					<li><a href="../classes/_laya_physics_circlecollider_.circlecollider.html" class="tsd-signature-type">CircleCollider</a></li>
					<li><a href="../classes/_laya_physics_colliderbase_.colliderbase.html" class="tsd-signature-type">ColliderBase</a></li>
					<li><a href="../classes/_laya_components_commonscript_.commonscript.html" class="tsd-signature-type">CommonScript</a></li>
					<li><a href="../classes/_laya_components_component_.component.html" class="tsd-signature-type">Component</a></li>
					<li><a href="../classes/_laya_d3_physics_constraints_configurableconstraint_.configurableconstraint.html" class="tsd-signature-type">ConfigurableConstraint</a></li>
					<li><a href="../classes/_laya_d3_physics_constraints_constraintcomponent_.constraintcomponent.html" class="tsd-signature-type">ConstraintComponent</a></li>
					<li><a href="../classes/_laya_physics_joint_distancejoint_.distancejoint.html" class="tsd-signature-type">DistanceJoint</a></li>
					<li><a href="../classes/_laya_effect_effectbase_.effectbase.html" class="tsd-signature-type">EffectBase</a></li>
					<li><a href="../classes/_laya_d3_core_material_effectmaterial_.effectmaterial.html" class="tsd-signature-type">EffectMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_particleshuriken_module_emission_.emission.html" class="tsd-signature-type">Emission</a></li>
					<li><a href="../classes/_laya_d3_core_material_extendterrainmaterial_.extendterrainmaterial.html" class="tsd-signature-type">ExtendTerrainMaterial</a></li>
					<li><a href="../classes/_laya_effect_fadein_.fadein.html" class="tsd-signature-type">FadeIn</a></li>
					<li><a href="../classes/_laya_effect_fadeout_.fadeout.html" class="tsd-signature-type">FadeOut</a></li>
					<li><a href="../classes/_laya_d3_physics_constraints_fixedconstraint_.fixedconstraint.html" class="tsd-signature-type">FixedConstraint</a></li>
					<li><a href="../classes/_laya_physics_joint_gearjoint_.gearjoint.html" class="tsd-signature-type">GearJoint</a></li>
					<li><a href="../classes/_laya_d3_core_geometryelement_.geometryelement.html" class="tsd-signature-type">GeometryElement</a></li>
					<li><a href="../classes/_laya_resource_htmlcanvas_.htmlcanvas.html" class="tsd-signature-type">HTMLCanvas</a></li>
					<li><a href="../classes/_laya_device_media_htmlvideo_.htmlvideo.html" class="tsd-signature-type">HtmlVideo</a></li>
					<li><a href="../classes/_laya_physics_joint_jointbase_.jointbase.html" class="tsd-signature-type">JointBase</a></li>
					<li><a href="../classes/_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a></li>
					<li><a href="../classes/_laya_d3_resource_models_mesh_.mesh.html" class="tsd-signature-type">Mesh</a></li>
					<li><a href="../classes/_laya_physics_joint_motorjoint_.motorjoint.html" class="tsd-signature-type">MotorJoint</a></li>
					<li><a href="../classes/_laya_physics_joint_mousejoint_.mousejoint.html" class="tsd-signature-type">MouseJoint</a></li>
					<li><a href="../classes/_laya_d3_core_material_pbrmaterial_.pbrmaterial.html" class="tsd-signature-type">PBRMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_pbrspecularmaterial_.pbrspecularmaterial.html" class="tsd-signature-type">PBRSpecularMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_pbrstandardmaterial_.pbrstandardmaterial.html" class="tsd-signature-type">PBRStandardMaterial</a></li>
					<li><a href="../classes/_laya_d3_physics_physicscollider_.physicscollider.html" class="tsd-signature-type">PhysicsCollider</a></li>
					<li><a href="../classes/_laya_d3_physics_physicscomponent_.physicscomponent.html" class="tsd-signature-type">PhysicsComponent</a></li>
					<li><a href="../classes/_laya_d3_physics_physicstriggercomponent_.physicstriggercomponent.html" class="tsd-signature-type">PhysicsTriggerComponent</a></li>
					<li><a href="../classes/_laya_d3_core_pixelline_pixellinefilter_.pixellinefilter.html" class="tsd-signature-type">PixelLineFilter</a></li>
					<li><a href="../classes/_laya_d3_core_pixelline_pixellinematerial_.pixellinematerial.html" class="tsd-signature-type">PixelLineMaterial</a></li>
					<li><a href="../classes/_laya_physics_polygoncollider_.polygoncollider.html" class="tsd-signature-type">PolygonCollider</a></li>
					<li><a href="../classes/_laya_physics_joint_prismaticjoint_.prismaticjoint.html" class="tsd-signature-type">PrismaticJoint</a></li>
					<li><a href="../classes/_laya_physics_joint_pulleyjoint_.pulleyjoint.html" class="tsd-signature-type">PulleyJoint</a></li>
					<li><a href="../classes/_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a></li>
					<li><a href="../classes/_laya_resource_rendertexture2d_.rendertexture2d.html" class="tsd-signature-type">RenderTexture2D</a></li>
					<li><a href="../classes/_laya_resource_resource_.resource.html" class="tsd-signature-type">Resource</a></li>
					<li><a href="../classes/_laya_physics_joint_revolutejoint_.revolutejoint.html" class="tsd-signature-type">RevoluteJoint</a></li>
					<li><a href="../classes/_laya_physics_rigidbody_.rigidbody.html" class="tsd-signature-type">RigidBody</a></li>
					<li><a href="../classes/_laya_d3_physics_rigidbody3d_.rigidbody3d.html" class="tsd-signature-type">Rigidbody3D</a></li>
					<li><a href="../classes/_laya_physics_joint_ropejoint_.ropejoint.html" class="tsd-signature-type">RopeJoint</a></li>
					<li><a href="../classes/_laya_d3_core_render_screenquad_.screenquad.html" class="tsd-signature-type">ScreenQuad</a></li>
					<li><a href="../classes/_laya_d3_core_render_screentriangle_.screentriangle.html" class="tsd-signature-type">ScreenTriangle</a></li>
					<li><a href="../classes/_laya_components_script_.script.html" class="tsd-signature-type">Script</a></li>
					<li><a href="../classes/_laya_d3_component_script3d_.script3d.html" class="tsd-signature-type">Script3D</a></li>
					<li><a href="../classes/_laya_webgl_shader_shader_.shader.html" class="tsd-signature-type">Shader</a></li>
					<li><a href="../classes/_laya_webgl_shader_d2_shader2x_.shader2x.html" class="tsd-signature-type">Shader2X</a></li>
					<li><a href="../classes/_laya_d3_core_particleshuriken_shurikenparticlematerial_.shurikenparticlematerial.html" class="tsd-signature-type">ShurikenParticleMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_particleshuriken_shurikenparticlesystem_.shurikenparticlesystem.html" class="tsd-signature-type">ShurikenParticleSystem</a></li>
					<li><a href="../classes/_laya_d3_core_material_skyboxmaterial_.skyboxmaterial.html" class="tsd-signature-type">SkyBoxMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_skypanoramicmaterial_.skypanoramicmaterial.html" class="tsd-signature-type">SkyPanoramicMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_skyproceduralmaterial_.skyproceduralmaterial.html" class="tsd-signature-type">SkyProceduralMaterial</a></li>
					<li><a href="../classes/_laya_d3_resource_models_submesh_.submesh.html" class="tsd-signature-type">SubMesh</a></li>
					<li><a href="../classes/_laya_ani_bone_templet_.templet.html" class="tsd-signature-type">Templet</a></li>
					<li><a href="../classes/_laya_webgl_text_texttexture_.texttexture.html" class="tsd-signature-type">TextTexture</a></li>
					<li><a href="../classes/_laya_resource_texture2d_.texture2d.html" class="tsd-signature-type">Texture2D</a></li>
					<li><a href="../classes/_laya_d3_resource_texturecube_.texturecube.html" class="tsd-signature-type">TextureCube</a></li>
					<li><a href="../classes/_laya_d3_core_trail_trailgeometry_.trailgeometry.html" class="tsd-signature-type">TrailGeometry</a></li>
					<li><a href="../classes/_laya_d3_core_trail_trailmaterial_.trailmaterial.html" class="tsd-signature-type">TrailMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_unlitmaterial_.unlitmaterial.html" class="tsd-signature-type">UnlitMaterial</a></li>
					<li><a href="../classes/_laya_resource_videotexture_.videotexture.html" class="tsd-signature-type">VideoTexture</a></li>
					<li><a href="../classes/_laya_d3_core_material_waterprimarymaterial_.waterprimarymaterial.html" class="tsd-signature-type">WaterPrimaryMaterial</a></li>
					<li><a href="../classes/_laya_physics_joint_weldjoint_.weldjoint.html" class="tsd-signature-type">WeldJoint</a></li>
					<li><a href="../classes/_laya_physics_joint_wheeljoint_.wheeljoint.html" class="tsd-signature-type">WheelJoint</a></li>
					<li><a href="../classes/_laya_ui_widget_.widget.html" class="tsd-signature-type">Widget</a></li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="interfaces._laya_resource_idestroy_.idestroy.html#destroyed" class="tsd-kind-icon">destroyed</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="interfaces._laya_resource_idestroy_.idestroy.html#destroy" class="tsd-kind-icon">destroy</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
					<a name="destroyed" class="tsd-anchor"></a>
					<h3>destroyed</h3>
					<div class="tsd-signature tsd-kind-icon">destroyed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/resource/IDestroy.ts:5</li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="destroy" class="tsd-anchor"></a>
					<h3>destroy</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/resource/IDestroy.ts:6</li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_resource_idestroy_.html">&quot;laya/resource/IDestroy&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-interface tsd-parent-kind-module">
						<a href="interfaces._laya_resource_idestroy_.idestroy.html" class="tsd-kind-icon">IDestroy</a>
						<ul>
							<li class=" tsd-kind-property tsd-parent-kind-interface">
								<a href="interfaces._laya_resource_idestroy_.idestroy.html#destroyed" class="tsd-kind-icon">destroyed</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-interface">
								<a href="interfaces._laya_resource_idestroy_.idestroy.html#destroy" class="tsd-kind-icon">destroy</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>